//
//  CZTwoViewController.m
//  UIPopoverController练习
//
//  Created by chao on 15/2/27.
//  Copyright (c) 2015年 chao. All rights reserved.
//

#import "CZTwoViewController.h"
#import "CZThreeViewController.h"

@interface CZTwoViewController ()
- (IBAction)jump;


@end

@implementation CZTwoViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.navigationItem.backBarButtonItem = [[UIBarButtonItem alloc] initWithTitle:@"返回" style:UIBarButtonItemStylePlain target:nil action:nil];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

- (IBAction)jump {
    CZThreeViewController *threeVc = [[CZThreeViewController alloc] init];
    threeVc.title = @"CZThreeViewController";
    [self.navigationController pushViewController:threeVc animated:YES];
}
@end
